
Ext.define('Noter.stores.NotetypesTree' , {
    extend    : 'Ext.data.TreeStore',
    requires  : ['Noter.models.Notetype'] ,
//    model     : 'Noter.models.Notetype' ,
    proxy: {
        type: 'ajax',
        url: '/notetype/tree'
    },
    root: {
        text: 'Ext JS',
        id: '-100',
        expanded: true
    },
    folderSort: true,
    sorters: [{
        property: 'text',
        direction: 'ASC'
    }]
});
